package gui.event.tiemchung;

import gui.event.ulti.Util;
import gui.khachhang.KHSuaThongTin_Dialog;
import gui.tiemchung.TCSuaHoSo_Dialog;
import java.util.List;
import javax.swing.JButton;
import javax.swing.JDialog;
import javax.swing.JOptionPane;
import javax.swing.JTable;

public class TCSuaThongTinHoSoFull_evt {
    
    public static final void btnLietKeActionPerformed() {
        //TODO tổng hợp điều kiện và liệt kê
        JOptionPane.showMessageDialog(null, "Filter");
    }
    
    public static final void btnSuaActionPerformed() {
        // load thông tin hồ sơ được chọn qua tcSuaDlg
        TCSuaHoSo_Dialog khSuaDlg = new TCSuaHoSo_Dialog(null,null, true);
        khSuaDlg.setLocationRelativeTo(null);
        khSuaDlg.setVisible(true);
    }
    
    public static final void btnDongActionPerformed(JDialog dlg) {
        dlg.dispose();
    }

    public static void btlTiemChungFocusGained(List<JButton> listButton, JTable btlTiemChung) {
        if(btlTiemChung.getSelectedRow()==1){
            Util.enableListButtons(listButton);
        }
    }
    
}
